Apparatus of a flexible and common ipmp system for mpeg-2 distribution and protection

ABSTRACT

An apparatus of a flexible and common MPEG-2 IPMP system (Intellectual Property Management and Protection) is invented to provide flexibility and interoperability by introducing a IPMP Control Information which includes IPMP Tool List and an optional Tool Container. The IPMP Control Information is put in PSI in MPEG-2 transport stream, and a special PES packet in MPEG-2 program stream. IPMP Stream is defined to carry IPMP information that is to be sent to each individual IPMP tool instance. The concept of Tool Manager, Message Router from MPEG-4 IPMP extension is mapped into MPEG-2 terminal to form MPEG-2 IPMP framework together with introduced IPMP Control Information and IPMP Stream. As a result of this invention, the same protected MPEG-2 content is able to play back by different types of MPEG-2 IPMP terminals, and the same MPEG-2 content can be protected by using different vendors&#39; IPMP system.

TECHNICAL FIELD

[0001] The present invention relates to content distribution and protection in NPEG-2 scope, especially to such applications where the protected content based on MPEG-2 is consumed by different IPMP terminal, and the same content is protected by different IPMP system.

BACKGROUND ART

[0002] Content distribution is becoming more and more demanding as multimedia data and contents can reach anywhere and anytime. Users are happy with the convenience and flexibility, and they can enjoy entertainment easily and efficiently. On the other hand, content owners are worried about the illegal usage of their property. There is a balance between two sides.

[0003] There are a lot of protection techniques for protecting the content, such as data encryption, watermarking, etc. They have been implemented in many content distribution applications. It seems different system employs different kinds of mechanisms and protection techniques to distribute content with protection. All the terminals or content consuming devices in that case are only able to play and consume the content that is provided by the same content provider. They cannot exchange their terminal or device to playback different contents.

[0004] In MPEG-4 context, a standardisation group has been working on MPEG-4 IPMP Extension. The solution is able to achieve both of the following:

[0005] 1. Allow the same protected content to be consumed on different vendors' MPEG-4 IPMP Terminals. This will be fully enabled.

[0006] 2. Allow the same content to be protected by different vendors' IPMP Tools. This will be assisted to as large extent as possible.

[0007] In MPEG-2 context, there is a CA (Conditional Access) system that defines a minimum set of common CA elements necessary to achieve interoperability between different CA systems. However, there is no real inter-operability here, as not enough components are defined, and the architecture offered by CA is not flexible enough.

[0008] It is very difficult to produce the same terminal to play different MPEG-2 contents provided by different content providers in such case. In other words the same protected MPEG-2 content cannot be played back in different CA system.

[0009] On the other hand, CA system defines a common scrambling algorithm, this makes hardware implementation simple, however, this makes the whole architecture too rigid. IPMP tool should not be fixed to certain tool beforehand, it should allow more flexibility for vendors to choose their favourite tool in their IPMP system. In such case it is necessary to define some standard way and interface to provide both better flexibility and security at the same time.

[0010] Hence, a flexible and interoperable IPMP system is needed in MPEG-2 system for content protection.

[0011] To define a flexible and interoperable IFMP system structure for MPEG-2 to allow:

[0012] 1. The same protected MPEG-2 content to be consumed on different vendors' MPEG-2 IPMP Terminals. This will be fully enabled.

[0013] 2. The same MPEG-2 content to be protected by different vendors' IPMP Tools. This will be assisted to as large extent as possible.

[0014] To provide the standard way for IPMP system implementers to build the whole IPMP system for MPEG-2 from encoder, channel distribution, to terminal in a secure manner;

DISCLOSURE OF INVENTION

[0015] To solve the problem, MPEG-4 IPMP Extension can be mapped to MPEG-2 with some modifications.

[0016] IPMP Control Information needs to put inside the content to describe what are the IPMP tools needed to play the content, and how they protect the content. It includes IPMP Tool List and IPMP Tool Container.

[0017] The IPMP Tool List supports indication of independent or alternative Tools. For each tool in the IPMP Tool List, the following information is provided:

[0018] 1. IPMP Tool Identifier: A given IPMP tool is identified to other entities via its IPMP Tool Identifier, and an optional Parametric Description;

[0019] 2. Possible alternatives to a given Tool; and

[0020] 3. Optional Tool List Signature.

[0021] The IPMP Tool Container carries the binary tool itself in the content. One implementation of a given tool is carried as the payload of one IPMP Tool Container, the representation format, packaging information and IPMP Tool ID of which is specified in the container also.

[0022] IPMP Control Graph describes the association between different elementary streams under different programs and different IPMP tools, at the control point at which the IPMP tool should be running.

[0023] The IPMP Tool Manager is a conceptual entity in a given IPMP Terminal. Upon receipt of the Tool List, the Terminal should route the same to the IPMP Tool Manager for parsing and Tool retrieval. The Tool Manager also processes parametric descriptions, resolves alternative tools, and receives binary Tools that arrive in the Content.

[0024] All IPMP Tool Messages are routed through the Terminal. To represent this function, an entity called the Message Router (MR) is defined in the architecture. The MR connects and communicates with supported IPMP Tool(s). It thus abstracts the physical interface of one IPMP Tool from any other IPMP Tool that wishes to communicate with it. Message Routing is assumed to be instantaneous.

[0025] <Operation of Invention>

[0026] On the content provider side, a media content is encoded using existing coding technology like MPEG-2 or MPEG-4, and encrypted using existing IPMP tool like DES or AES. The content maybe embedded with watermarks using a Watermark Tool AAA (for example) before the encoding. The media content is then multiplexed using MPEG2 system.

[0027] At the same time, IPMP Control Information needs to be built up, that includes IPMP Tool List and an optional Tool Container. The IPMP Control Information is put in PSI in MPEG-2 transport stream, and a special PES packet in MPEG-2 program stream.

[0028] IPMP Tool List is also generated based on the IPMP Tools used in protecting the content. The IPMP Tools List includes IPMP Tool ID specifying a unique tool. It can also includes optional parametric description to allow the terminal to choose their own preferred tool that does the same function (for example, DES), and it may also includes a set of alternative tools so that the terminal can choose among a set of known tools that can accomplish the same task.

[0029] IPMP Control Graph is also built during content generation. For example, if DES tool is used to encrypt video elementary stream 0x01 after encoding, then, in the control graph, there needs to be an indication that DES tool is used to protect elementary stream 0x01, and it should be called at which control point (before decoding). If Watermark Tool AAA is used to insert watermark into audio elementary stream 0x02 before encoding, then, in the control graph, there needs to be an indication that Watermark Tool AAA needs to be called upon elementary stream 0x02 at which control point (after decoding).

[0030] On the terminal side, IPMP Tools List is passed to the IPMP Tool Manager module sitting inside MPEG-2 terminal. The Tool Manager checks whether all tools needed to consume the content are present in the terminal, if there is one missing, the terminal follows a proprietary way to retrieve the missing IPMP Tool according to the IPMP Tool ID or parametric description. The obtained IPMP Tools are now available in the terminal, and they are stored in the IPMP terminal to be ready for use with the pre-defined messaging interface.

[0031] The IPMP Control Graph is also parsed by the terminal, so that the terminal knows which IPMP Tool to invoke upon which elementary stream at which control point.

[0032] The content stream is then continuing to pass through content decoder, necessary IPMP tools are called upon, and the content can be decoded and played back to the terminal.

[0033] <Effective of Invention>

[0034] This invention solves the problem to play back the same protected MPEG-2 content by different types of terminals, as well as to protect the same MPEG-2 content using different vendors' IPMP system, by introducing the NPEG-2 IPMP framework.

[0035] IPMP Control Information can be carried in PSI for MPEG-2 transport stream, or in PES packet for MPEG-2 program stream. The IPMP Control Information carries IPMP Tool List, or IPMP Tool Container in the form of five new descriptors.

[0036] The IPMP Tool List identifies, and enables selection of, the IPMP Tools required to process the Content. IPMP Control Graph indicates the association between IPMP tools and their protection scope (control point). Tool Container carries the binary tool in the content stream.

[0037] IPMP Stream is the elementary stream within MPEG-2 system, to carry IPMP messages to each individual IPMP tool instances.

[0038] IPMP Tool Manager and Message Router can be mapped from MPEG-4 IPMP Extension to MPEG-2 IPMP system.

BRIEF DESCRIPTION OF DRAWINGS

[0039]FIG. 1 shows Content Distribution and Protection in different CA System for MPEG-2 as the prior art.

[0040]FIG. 2 shows General Diagram for a Compliant MPEG-2 IPMP System.

[0041]FIG. 3 shows a Diagram of MPEG-2 IPMP Terminal, in which “DB” denotes a decoder buffer and “RB” denotes a render buffer.

BEST MODE FOR CARRYING OUT THE INVENTION

[0042] Existing CA system in MPEG-2 does not provide an interoperable and flexible content protection mechanism for both the content owners and terminal vendors.

[0043] The FIG. 1 shows the prior art for the current typical CA system.

[0044] Content Owner in unit 1.0 provides contents through different content providers X, Y, and Z in unit 1.1, 1.4, and 1.7. Different CA system is used to protect the content for different content provider as shown in unit 1.2, 1.5, 1.8.

[0045] Therefore Content Decoding or Content Consumption terminal is also different from each other, as shown in unit 1.3, 1.6, and 1.9.

[0046] It is clear that MPEG-2 content protected by CA system A can't be played out on terminals that support CA system B, also there is no complete specification on how different CA systems from different vendors are to protect the same content, and how the terminal gets to know that.

[0047] In this invention, we define a MPEG-2 IPMP system,

[0048] 1) to carry IPMP Control Information including Tool List and Tool Container in the stream to indicate which IPMP Tools is used by content providers and content distributors, and how binary tool should be carried inside the content.

[0049] 2) to define 5 new descriptors in MPEG-2 system to hold Tool List, IPMP Control Graph, IPMP Tool Container.

[0050] 3) to define 2 new streams. IPMP Stream to carry IPMP information that is to be sent to each individual tool instance, and IPMP Control Information Stream to carry IPMP Control Information in Transport Stream.

[0051] 4) to map the concept of Tool Manager, Message Router from MPEG-4 IPMP extension into NPEG-2 terminal.

[0052] The general diagram in FIG. 2 is shown for our presented compliant MPEG-2 IPMP system.

[0053] Server is shown in module 2.1, it works as either Content Provider or Content distributor, or both functions for different application scenario.

[0054] Network layer is shown in module 2.3 for communication between Compliant MPEG-2 IPMP terminal and Server including transmission of content stream from the server to the terminal.

[0055] At first, Right Authentication in module 2.4 starts to interact with the server, to obtain the content access and consumption right, as well as the detail usage rule. If the right for content access is authorized in Module 2.4, the server will send the requested content stream to the terminal via the Network layer.

[0056] In module 2.2, Content stream is transmitted together with IPMP Control Information including Tool List and Tool Container, and IPMP Stream. The details of IPMP Control Information and IPMP Stream will be explained later.

[0057] IPMP Tools Manager shown in Module 2.5 is to parse/interpret IPMP Control Information. It parses the Tool List and finds out what are the IPMP tools needed to process the content. If there is any missing tool, the Tool Manager either retrieves the tool from the Tool Container or it retrieves the tool from somewhere else through a proprietary way. The Tool Manager is also responsible to select tool from a list of alternative choices, or to interpret the parametric description and choose its own favourite tool.

[0058] IPMP Tool Manager also parses the IPMP Control Graph to find out which tool is used upon which elementary stream at which control point. Details of this will be explained later.

[0059] The Licence/key, and Usage Rules are stored in the memory of the terminal as module 2.6 for further process. The binary IPMP Tools with their corresponding ToolIDs are stored in the memory of the terminal as module 2.7. Each of the Tools is built following the generic and standardised Interface and it is pre-compiled using the compiler for matching the platform. For example, the Tool of Data encryption and decryption can be built based on one generic and specified Interface. It can be pre-compiled into Java Byte Code (JBC) for all the platforms/terminals with Java Virtual Machine, and it is also can be pre-compiled into Dynamic Link Library (DLL) for Windows based platforms/terminals.

[0060] Module 2.8 shows the Messaging Interfaces of IPMP Tools that are needed to be pre-defined for IPMP Tool providers and Terminal implementers to follow.

[0061] The detail explanation is split into four parts here, to indicate each invented item.

[0062] (1. IPMP Control Information)

[0063] IPMP Control Information needs to be carried in the content stream. IPMP Control Information contains necessary information like Tool List and Tool Container. The IPMP Tool List identifies, and enables selection of, the IPMP Tools required to process the Content. Tool Container enables the carriage of binary tool in content streams.

[0064] In short, the IPMP Control Information describes what are the IPMP tools needed to play the content, and how they protect the content. In Transport stream, it exists in the form of IPMP Control Information table. In Program Stream, it exists in the form of a PES packet when the stream_id is IPMP Control Information Stream ID.

[0065] (1.1 IPMP Control Info Table in Transport Stream)

[0066] An additional table “IPMP Control Information Table” should be included in PSI (Program Specific Information). This is used to hold IPMP control information including Tool Container and IPMP Tool List Descriptor that will be defined later on. The PID assignment is illustrated as below. TABLE 1 Program specific information Reserved Structure Name Stream Type PID # Description Program ITU-T Rec. 0x00 Associates Program Association Table H.222.0|ISO/IEC Number and Program 13818-1 Map Table PID Program Map Table ITU-T Rec. Assigned in Specifies PID values H.222.0|ISO/IEC the PAT for components of one 13818-1 or more programs Network Private Assigned in Physical network Information Table the PAT parameters such as FDM frequencies, Transponder Numbers, etc. IPMP Control ITU-T Rec. 0x03 Contains IPMP Tool Information Table H.222.0|ISO/IEC List to describe the 13818-1 IPMP tools and how they protect the content. Conditional ITU-T Rec. 0x01 Associates one or more Access Table H.222.0|ISO/IEC (private) EMM streams 13818-1 each with a unique PID value

[0067] (1.1.1 Mapping of IPMP Control Information Table into Sections)

[0068] The IPMP Control Information table may be segmented into one or more sections, before insertion into Transport Stream packets, with the following syntax. TABLE 2 IPMP Control Information Table section No. of Syntax bits Mnemonic IPMP_Control_Info_section() { table_id 8 uimsbf section_syntax_indicator 1 bslbf ‘0’ 1 bslbf reserved 2 bslbf section_length 12 uimsbf reserved 2 bslbf ipmp_control_info_version 5 uimsbf current_next_indicator 1 bslbf section_number 8 uimsbf last_section_number 8 uimsbf descriptor_length 24 uimsbf for (i=0; i<N; i++) descriptor () } isSigned 1 bslbf reserved 7 bslbf if (isSigned) Signature 8 ByteArray NumCerts 8 uimsbf for (i=0; i<numCerts; i++) { CertType 8 uimsbf Certificate 8 ByteArray } Verifying_Tool_ID 128 uimsbf } CRC_32 32 rpchof }

[0069] (Semantic Definition of Fields in IPMP Control Information Table Section)

[0070] table_id—This is an 8 bit field, which shall be always set to 0x02 as shown in table 1 above.

[0071] section_syntax_indicator—The section_syntax_indicator is a 1 bit field which shall be set to ‘1’.

[0072] section_length—This is a 20 bit field. It specifies the number of bytes of the section starting immediately following the section_length field, and including the CRC. The value in this field shall not exceed 1048573. The length is set to be a large value, because the following descriptors may contain Tool_Container_Descriptor that will be described later.

[0073] ipmp_control_info_version—This 5 bit field is the version number of the whole IPMP Control Information Table. The version number shall be incremented by 1 modulo 32 when a change in the information carried within the ipmp control info table occurs. When the current_next_indicator is set to ‘1’, then the version_number shall be that of the currently applicable IPMP Control Information Table. When the current_next_indicator is set to ‘0’, then the version_number shall be that of the next applicable IPMP Control Information Table.

[0074] current_next_indicator—A 1 bit indicator, which when set to ‘1’ indicates that the IPMP Control Information Table sent is currently applicable. When the bit is set to ‘0’, it indicates that the IPMP Control Information Table sent is not yet applicable and shall be the next IPMP Control Information Table to become valid.

[0075] section_number—This 8 bit field gives the number of this section. The section_number of the first section in the IPMP Control Information Table shall be 0x00. It shall be incremented by 1 modulo 256 with each additional section in the IPMP Control Information Table.

[0076] last_section_number—This 8 bit field specifies the number of the last section (that is, the section with the highest section_number) of the IPMP Control Information Table.

[0077] descriptor_length—This 16 bit field specifies the total length of the descriptors immediately following this field. ToolList_Descriptor should be following this field. Details of the descriptors are given in section 3.

[0078] isSigned—This 1 bit field indicates the presence of a signature in the IPMP Control Information table.

[0079] Signature—The signature of the entire IPMP Control Information including Tool List descriptor and Tool Container descriptor.

[0080] CertType—The type of certification mechanism being used.

[0081] NumCerts—The number of certificates included.

[0082] Certificate—The array of certificates.

[0083] Verifying_Tool_Id—The ID of the Tool that is required to verify the certificate(s). This may be the ID of the Terminal.

[0084] CRC_(—)32—This is a 32 bit field that contains the CRC value that gives a zero output of the registers in the decoder defined in Annex B in [1] after processing the entire IPMP section.

[0085] (1.2 IPMP Control Information in Program Stream)

[0086] IPMP Control Info provides overall IPMP Information including Tool List Descriptor in Program Stream. It is presented as a PES packet when the stream_id value is specified value. TABLE 3 IPMP Control Information No. of Syntax bits Mnemonic IPMP_control_info_section() { packet_start_code_prefix 24 bslbf map_stream_id 8 uimsbf ipmp_control_info_length 19 uimsbf current_next_indicator 1 bslbf ipmp_control_info_version 5 uimsbf reserved 7 bslbf marker_bit 16 bslbf descriptor_length 16 uimsbf for (i=0; i<N; i++) { descriptor () } isSigned 1 bslbf reserved 7 bslbf if (isSigned) Signature 8 ByteArray NumCerts 8 uimsbf for (i=0; i<numCerts; i++) { CertType 8 uimsbf Certificate 8 ByteArray } Verifying Tool_ID 128 uimsbf } CRC_32 32 rpchof }

[0087] (Semantic Definition of Fields in IPMP Control Info)

[0088] packet_start_code_prefix—The packet_start_code_prefix is a 24-bit code. Together with the map_stream_id that follows it constitutes a packet start code that identifies the beginning of a packet. The packet_start_code_prefix is the bit string ‘0000 0000 0000 0000 0000 0001’ (0x000001 in hexadecimal)

[0089] map_stream_id—This is an 8 bit field whose value is always 0x?? in hexadecimal.

[0090] ipmp_control_info_version—This 5 bit field is the version number of the whole IPMP Control Information. The version number shall be incremented by 1 modulo 32 when a change in the information carried within the ipmp control info occurs. When the current_next_indicator is set to ‘1’, then the version_number shall be that of the currently applicable IPMP Control Information. When the current_next_indicator is set to ‘0’, then the version_number shall be that of the next applicable IPMP Control Information.

[0091] ipmp_control_info_length—The ipmp_control_info_length is a 19 bit field indicating the total number of bytes in the ipmp_control_info immediately following this field. The maximum value of the field is 524288 (bytes).

[0092] current_next_indicator—A 1 bit field, which when set to ‘1’ indicates that the IPMP Control Info sent is currently applicable. When the bit is set to ‘0’, it indicates that the IPMP Control Info sent is not yet applicable and shall be the next one to become valid.

[0093] ipmp_control_info version—This 5 bit field is the version number of the whole IPMP Control Info. The version number shall be incremented by 1 modulo 32 whenever the definition of the IPMP Control Info changes. When the current_next_indicator is set to ‘1’, then the ipmp_control_info_version shall be that of the currently applicable IPMP Control Info. When the current_next_indicator is set to ‘0’, then the ipmp_control_info_version shall be that of the next applicable IPMP Control Info.

[0094] descriptor_length—The descriptor_length is a 16 bit field indicating the total length of the descriptors immediately following this field. ToolList_Descriptor should be following this field. Details of the descriptors are given in section 3.

[0095] marker_bit—A marker_bit is a 1 bit field that has the value ‘1’.

[0096] isSigned—This 1 bit field indicates the presence of a signature in the IPMP Control Information table. The following fields in the if bracket bears the same semantics as in the last section.

[0097] (2. New Descriptors)

[0098] Program and program element descriptors are structures which may be used to extend the definitions of programs and program elements. All descriptors have a format which begins with an 8 bit tag value. The tag value is followed by an 8 bit descriptor length and data fields. The invention defines new IPMP Tool List Descriptor to hold the IPMP tool list, IPMP Control Graph Descriptor to represent the overall IPMP structure, and IPMP Tool Container Descriptor to carry binary IPMP tool inside the content.

[0099] The following semantics apply to both descriptors defined in this invention as well as the existing descriptors in MPEG-2.

[0100] descriptor_tag—The descriptor_tag is an 8 bit field which identifies each descriptor. Its meaning is given in the following table. An ‘X’ in the TS or PS columns indicates the applicability of the descriptor to either the Transport Stream or Program Stream respectively. Five new descriptors are introduced in this invention. TABLE 4 Program and program element descriptors descriptor_tag TS PS Identification  0 n/a n/a Reserved  1 n/a n/a Reserved  2 X X video_stream_descriptor  3 X X audio_stream_descriptor  4 X X hierarchy_descriptor . . . . . . . . . . . . 19 X X IPMP Tool List Descriptor 20 X X IPMP Tool Information Descriptor 21 X X IPMP Parametric Descriptor 22 X X IPMP Tool Container Descriptor 23 X X IPMP Descriptor 24-63 n/a n/a ITU-T Rec. H.222.0|ISO/IEC 13818-1 Reserved  64-255 n/a n/a User Private

[0101] descriptor_length—The descriptor_length is an 8 bit field specifying the number of bytes of the descriptor immediately following descriptor_length field.

[0102] (2.1 IPMP Tool List Descriptor)

[0103] IPMP Tool List Descriptor includes a list of IPMP tools. It is used to specify all IPMP tools that should be used in order to play back the content. TABLE 5 IPMP Tool List descriptor No. of Syntax bits Mnemonic IPMPToolList_descriptor () { descriptor_tag 8 uimsbf descriptor_length 16 uimsbf numTools 8 uimsbf for ( i=0; i<numTools; i++) { IpmpTool_Descriptor () } }

[0104] IpmpTool_Descriptor( ) is defined in the following section.

[0105] (2.2 IPMP Tool Descriptor)

[0106] IPMP_Tool_Descriptor contains information for a logical IPMP Tool required by the Terminal. The logical tool may be one of the following:

[0107] 1. A vendor-specific IPMP Tool specified by IPMP_ToolID,

[0108] 2. One of a list of alternate IPMP Tools,

[0109] 3. An IPMP Tool specified by a parametric description. TABLE 6 IPMP Tool Info descriptor No. of Syntax bits Mnemonic IPMPToolList_descriptor () { descriptor_tag 8 uimsbf descriptor_length 16 uimsbf isAltGroup 1 uimsbf isParametric 1 uimsbf Reserved (0b111111) 6 uimsbf IPMP_Tool_ID 128 uimsbf if (isAltGroup) { numAlternatives 8 uimsbf for (i=0; i< numAlternatives; i++) { Alt_IPMP_Tool_ID 128 uimsbf } } else if ( isParametric ) { parametricDescription ByteArray } }

[0110] (Semantic Definition of Fields in IPMP Tool Descriptor)

[0111] In the case of a list of alternate tools, the Terminal shall select an IPMP Tool from the list of alternate IPMP Tools. In the case of a parametric description of the IPMP Tool, the Terminal shall select an IPMP Tool that meets the criteria specified in the parametric description.

[0112] IPMP_ToolID—the identifier of the logical IPMP Tool required by the Terminal.

[0113] isAltGroup—IPMP_Tool contains a list of alternate IPMP Tools. In this case, IPMP_ToolID is an identifier for the list of alternate IPMP Tools, and the Terminal shall route information specified in the bitstream for IPMP_ToolID to the specific IPMP Tool instantiated by the Terminal.

[0114] numAlternates—the number of alternate IPMP Tools specified in IPMP_Tool[ ].

[0115] Alt_IPMP_ToolIDs—an array of the IDs of alternate IPMP Tools that can allow consumption of the content.

[0116] isparametric—IPMP_Tool contains a parametric description of an IPMP Tool. In this case, IPMP_ToolID is an identifier for the parametrically described IPMP Tool, and the Terminal shall route information specified in the bitstream for IPMP_ToolID to the specific IPMP Tool instantiated by the terminal.

[0117] (2.3 IPMP Tool Container Descriptor)

[0118] There are many cases whereby content itself carried the binary IPMP tool (light weighted). The terminal may retrieve the IPMP tool from the content, load it, instantiate it and immediately use it in order to play out the content.

[0119] In MPEG-4 IPMP extension, binary IPMP tools are carried in tool ES. However, in MPEG-2 context, it could be easier to carry the binary IPMP tool inside a newly defined IPMP Tool Container Descriptor. One implementation of a given tool is carried as the payload of one IPMP Tool Container, the representation format, packaging information and IPMP Tool ID of which is also specified in the container. TABLE 7 IPMP Tool Container descriptor No. of Syntax bits Mnemonic IPMPToolContainer_descriptor () { descriptor_tag 8 uimsbf descriptor_length 16 uimsbf IPMP_Tool_ID 128 uimsbf Tool_Format_ID 32 uimsbf Tool_Package_ID 16 uimsbf sizeofTool 16 uimsbf for ( i=0; i<sizeofTool; i++) { Toolbody 8 uimsbf } }

[0120] (Semantic Definitions of Fields in IPMP Tool Container Descriptor)

[0121] IPMP_Tool_ID—the ID of the Tool carried in this stream.

[0122] Tool_Format_ID—This is defined as 0x001 for a structurally described tool. Otherwise, the Tool_Format_ID indicates the Binary Representation of the Tool and is ned by a registration authority.

[0123] Note: A structurally described tool implies a description of the IPMP Tool in terms of a network of primitives that can be combined to provide some or all IPMP functionalities required for content consumption. For example, a DES decryption algorithm could be described as a sequence of opcodes calls receiving the ciphertext as input and providing the plaintext as output.

[0124] Tool_Package_Id indicates the details of the package of the Tool—examples are CAB or a Winzip self-install executable. Values are assigned by a registration authority.

[0125] (2.4 IPMP Control Graph Descriptor)

[0126] IPMP Control Graph descriptor contains description of the entire IPMP protection scheme. It associates IPMP tool with each individual stream under its protection. TABLE 8 IPMP Control Graph descriptor No. of Syntax bits Mnemonic IPMPControlGraph_descriptor () { descriptor_tag 8 uimsbf descriptor_length 8 uimsbf numProtectedPrograms 8 uimsbf if ( numProtectedPrograms>0 ) { program_number 16 uimsbf numProtectedStreams 8 uimsbf for ( 1=0; i<numStreams; i++) { stream_type 8 uimsbf reserved 3 uimsbf elementary_PID 13 uimsbf ipmp_length 16 uimsbf for ( 1=0; i<N; i++) { IPMP_Descriptor } } } else if (numProtectedPrograms==0) {  numProtectedStreams 8 uimsbf  for ( 1=0; i<numProtectedStreams; i++) { stream_type 8 uimsbf elementary_stream_id 8 uimsbf ipmp_length 16 uimsbf for ( i=0; i<N; i++) { IPMP_Descriptor }  } } }

[0127] (Semantic Definition of Fields in IPMP Control Graph Descriptor)

[0128] numProtectedPrograms—This 8 bit fields indicates how many programs are under IPMP protection scope. If the number is 0, it means it is a program stream. If it is greater than 0, it means it is a transport stream, and a for loop follows to trace into each program.

[0129] Transport Stream Case (numProtectedPrograms>0):

[0130] program_number—Program_number is a 16 bit field. It specifies the program that is under protection by IPMP. This field shall not take any single value more than once within one version of the IPMP Control Information.

[0131] ipmp_length—This is a 16 bit field. It specifies the number of bytes of the IPMP descriptors immediately following the ipmp_length field.

[0132] NumProtectedStreams—Specifies number of elementary streams (belonging to the above program) that are under the protection by IPMP.

[0133] stream_type—This is an 8 bit field specifying the type of program element carried within the packets with the PID whose value is specified by the elementary_PID. The values of stream_type are specified in table 11 described later.

[0134] elementary_PID—This is a 13 bit field specifying the PID of the Transport Stream packets which carry the associated program element. If there is a IPMP Descriptor following immediately after this elementary_PID, it means that this particular elementary stream is under the protection scope defined by this IPMP Descriptor.

[0135] Program Stream Case (numProtectedPrograms=0):

[0136] elementary_stream_id—The elementary_stream_id is an 8 bit field indicating the value of the stream_id field in the PES packet headers of PES packets in which this elementary stream is stored.

[0137] IPMP Descriptor is further defined below.

[0138] (2.5 IPMP Descriptor)

[0139] IPMP Descriptor specifies the IPMP protection at a particular scope. Including specification of control points, sequencing, IPMP tool IDs, etc. TABLE 9 IPMP Descriptor No. of Syntax bits Mnemonic IPMP_descriptor () { descriptor_tag 8 uimsbf descriptor_length 8 uimsbf IPMP_DescriptorID 8 uimsbf IPMP_ToolID 128 uimsbf numControlPoints 8 uimsbf for ( i=0; i<numControlPoints; i++) { controlPoint 8 uimsbf reserved 6 uimsbf secquenceCode 2 uimsbf if ( sequenceCode==0x1) { IPMP_DescriptorID 8 uimsbf controlPoint 8 uimsbf } if ( sequenceCode==0x2 ) { IPMP_DescriptorID 8 uimsbf controlPoint 8 uimsbf } OpaqueData ByteArray }

[0140] (Semantic Definitions of Fields in IPMP Descriptor)

[0141] IPMP_DescriptorID—a unique ID of this IPMP descriptor. This could be used to refer to this particular descriptor (protection scope).

[0142] IPMP_ToolID—Unique ID of the IPMP Tool that is protecting in this scope.

[0143] NumControlPoints—number of Control points at which the IPMP Tool is active.

[0144] controlPoint—value specifying the IPMP control point at which the IPMP Tool resides, and is one of the following values: Control Point Description 0x00 No control point. 0x01 Control Point between the decode buffer and the decoder. 0x02 Control Point between the decoder and the composition buffer. 0x03 Control Point between the composition buffer and the compositor.

[0145] sequenceCode—value specifying the relation of the IPMP Tool to IPMP Tool(s) residing at the same control point, and is one of the following. If the sequenceCode is either 0x01 or 0x02, a IPMP Descriptor ID together with a controlPoint follows immediately, to specify which tool (instance) is this current IPMP tool preceding or following. Sequence Code Description 0x00 IPMP Tool is not sequenced 0x01 IPMP Tool precedes another tool 0x02 IPMP Tool follows another tool 0x03 A logical “OR” of 0x01 and 0x02

[0146] (3 New Streams)

[0147] Stream_id specifies the type and number of the elementary stream as defined by the table below. Stream_id 1111 1001 is assigned to IPMP Stream in this embodiment. TABLE 10 Stream_id assignments stream_id stream coding 1011 1100 program_stream_map 1011 1101 private_stream_1 1011 1110 padding_stream 1011 1111 private_stream_2 1110 xxxx ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream number x xxxx 1110 xxxx ITU-T Rec. H.262|ISO/IEC 13818-2 or ISO/IEC 11172-2 video stream number xxxx 1111 0000 ECM_stream 1111 0001 EMM_stream 1111 1001 ancillary_stream (IPMP Stream) . . . . . . 1111 1100 . . . 1111 reserved data stream 1110 1111 1111 program_stream_directory

[0148] TABLE 11 Stream type assignments Value Description 0x00 ITU-T|ISO/IEC Reserved 0x01 ISO/IEC 11172 Video 0x02 ITU-T Rec. H.262|ISO/IEC 13818-2 Video or ISO/IEC 11172-2 constrained parameter video stream 0x03 ISO/IEC 11172 Audio 0x04 ISO/IEC 13818-3 Audio . . . . . . 0x0F IPMP Stream 0x11-0x7F ITU-T Rec. H.222.0|ISO/IEC 13818-1 Reserved 0x80-0xFF User Private

[0149] (3.1 IPMP Stream)

[0150] The IPMP Stream is a new elementary stream that is to carry IPMP information. Unlike MPEG-4 IPMP extension, where there can be many IPMP Elementary steams in one content, with each IPMP ES associated with one IPMP system, in MPEG-2, all IPMP information for all IPMP tools sitting on all control points are carried in a single IPMP Stream.

[0151] Hence, there is a need to indicate the clear destination in every piece of IPMP information in IPMP Stream.

[0152] It is defined in this invention that IPMP Stream should be a concatenation of IPMP info messages, with the syntax defined below: TABLE 12 IPMP Info Message No. of Syntax bits Mnemonic IPMP_info_message () { ipmp_descriptor_id 8 uimsbf control_point 8 uimsbf length_of_message 16 uimsbf for ( i=0; i<N; i++) { message 8 uimsbf } }

[0153] The ipmp_descriptor_id and control_point together clearly defines the destination of this IPMP_info_message. This message should be routed by the message router to the IPMP Tool defined in the corresponding ipmp descriptor sitting at the specified control_point.

[0154] (4 MPEG-2 IPMP Terminal)

[0155] IPMP Tool Manager and Message Router can be directly mapped from MPEG-4 IPMP Extension Terminal to MPEG-2 IPMP terminal.

[0156]FIG. 3 shows the architecture of a MPEG-2 IPMP terminal.

[0157] (4.1 IPMP Tool Manager)

[0158] The IPMP Tool Manager is a conceptual entity in a given IPMP Terminal. Upon receipt of the Tool List, the Terminal should route the same to the IPMP Tool Manager for parsing and Tool retrieval. The Tool Manager also processes parametric descriptions, resolves alternative tools, and receives binary Tools that arrive in the Content.

[0159] The following steps detail the process of parsing and retreival of Tools in an MPEG-2 Terminal.

[0160] 1. The IPMP Tool List Descriptor arrives in the IPMP Control Information Table in PSI and is routed to the Tool Manager.

[0161] 2. The IPMP Tool Manager parses information for the IPMP Tools as per the syntax in clause 2.2.2.1.

[0162] 3. The Tool Manager checks if the required Tools are available. For each unavailable Tool, an attempt to obtain the Tool may be made. How to obtain the missing tool is an implementation issue.

[0163] 4. The IPMP Tool Manager is also responsible for parsing the IPMP Tool Container Descriptor and retrieving the binary IPMP Tool that is carried inside PSI.

[0164] 5. The IPMP Tool Manager is further responsible for resolving parametric descriptions.

[0165] (4.2 IPMP Message Router)

[0166] All IPMP Tool Messages are routed through the Terminal. To represent this function, an entity called the Message Router is defined in the architecture. The MR connects and communicates with supported IPMP Tool(s). It thus abstracts the physical interface of one IPMP Tool from any other IPMP Tool that wishes to communicate with it. Message Routing is assumed to be instantaneous. In case of an MR error, an appropriate error status is returned by the MR. In all other cases, the MR is required to route, without a change in semantic meaning, information and responses as received.

[0167] Messaging interface can be mapped from MPEG-4 IPMP Extension without modification. However, there is no need to define a context ID for tool instances under MPEG-2. IPMP Descriptor ID together with control point should clearly define a specific tool instance running at a specific control point protecting a specific elementary stream.

[0168] (4.3 Mutual Authentication)

[0169] Tools that must communicate with one another or with the Terminal must do so in a way that meets the security requirements of the Tools and the Terminal. Tools must establish trust with the Terminal and possibly with one another to enable secure communication. Support for the establishment of a communication channel that reflects the nature of inter-tool trust can be accomplished via the use of secure, trusted authenticated channels.

[0170] Messages supporting the mutual authentication can be directly mapped from MPEG-4 IPMP extension to MPEG-2 framework.

[0171] Although the present invention has been described in connection with specified embodiments thereof, many other modifications, corrections and applications are apparent to those skilled in the art. Therefore, the present invention is not limited by the disclosure provided herein but limited only to the scope of the appended claims. 

1. Apparatus of a flexible and common IPMP System for MPEG-2 content distribution and protection on content provider side, comprising: encoder that encodes a content using existing coding technology into a content stream; encrypter that encrypts the encoded content stream using at least one IPMP tool; section that creates IPMP Tool List of at least one IPMP tool used for encrypting the encoded content; section that creates IPMP Control Graph that indicates how the at least one IPMP tool protects the stream; section that multiplexes IPMP Control information including IPMP Tool List into IPMP Control Information Table for transport stream, or into IPMP Control Information PES packet for program stream; and section that multiplexes IPMP Control information table inn the case of the transport stream and IPMP control informaiton PES packet in the case of the program stream with the content stream using MPEG-2 system.
 2. The apparatus according to claim 1, further comprising watermark section that embeds watermark information in the content using existing watermarking tool.
 3. The apparatus according to claim 1, further comprising section that creates IPMP Tool Container to carry binary tools in the content stream.
 4. The apparatus according to claim 1, further comprising: section that creates IPMP stream to carry time variant IPMP related information that is to be sent to each individual tool instance during content consumption at terminal side; and section that multiplexes the IPMP stream into MPEG-2 content stream.
 5. Apparatus of a flexible and common IPMP system for MPEG-2 content distribution and protection on MPEG-2 IWP terminal side, comprising: de-multiplexer that de-multiplexes IPMP Control Information including IPMP Tool List from MPEG-2 content stream sent from a content provider; section that interprets IPMP Tool List; section that retrieves missing IPMP tool based on the IPMP Tool List from local (either pre-loaded or pre-coded), peripheral or remote side; section that interpretes IPMP Control Graph and obtaining information which tool controls which stream at which control point; and section that interacts with at least one IPMP tool through pre-defined (messaging) interface at the control point.
 6. The apparatus according to claim 5, further comprising section that performs at least one of watermark retrieving and watermark embedding, through pre-defined (messaging) interface at the control point.
 7. The apparatus according to claim 6, further comprising section that interprets parametric description of IPMP Tool List and alternative tools to make a tool selection based on the interpretation result.
 8. The apparatus according to claim 5, further comprising section that interprets parametric description of IPMP Tool List and alternative tools to make a tool selection based on the interpretation result, and section that retrieves binary IPMP Tools from IPMP Tool Container within IPMP Control Information to obtain the associated Tool ID, Tool Format ID and Tool Package ID of each IPMP Tool.
 9. The apparatus according to claim 5, further comprising router that routs time variant IPMP related message to a specific IPMP Tool instance or the terminal itself.
 10. The apparatus according to claim 5, further comprising section that implements some existing and commonly used IPMP tools in an embedded MPEG-2 IPMP terminal.
 11. The apparatus according to claim 5, wherein the MPEG-2 content stream contains IPMP related streams including IPMP Control Information stream and IPMP stream, and the IPMP Control Information stream includes IPMP Tool List and IPMP Tool Container.
 12. The apparatus according to claim 5, wherein MPEG-2 content streams are protected by IPMP tools, and contain information of IPMP tools such as Tool ID, Tool Location, Tool List and Tool Control Graph.
 13. The apparatus according to claim 5, wherein MPEG-2 content streams are protected by IPMP tools, and some of the IPMP tools are carried in the content streams by a defined IPMP Tool container.
 14. The apparatus according to claim 5, wherein MPEG-2 content streams are protected by a few IPMP tools, and some missing IPMP tools in the terminal can be retrieved from a specified location.
 15. The apparatus according to claim 5, wherein MPEG-2 content streams are protected by a few IPMP tools, and the IPMP tools are pre-implemented in the terminal.
 16. The apparatus according to claim 5, wherein a protected MPEG-2 stream is processed first by using IPMP information which is carried in the same MPEG-2 stream, such as IPMP Tool List, IPMP Control Graph, IPMP Tool Container, and IPMP stream.
 17. The apparatus according to claim 5, wherein a protected MPEG-2 stream is processed first by interpreting IPMP Control Information which is carried in the same MPEG-2 stream, parsing IPMP Tool List, interpreting IPMP Control Graph, retrieving missing tools, applying associated IPMP tools to the audio and video streams at the defined control point.
 18. The apparatus according to claim 5, wherein a protected MPEG-2 stream is processed first by a conceptual IPMP manager to obtain the necessary IPMP Tools and apply them to the associated audio and video streams. 